{% extends "base.html" %}
{% load pagination_tags %}
{%block title%}Phillip's Eportfolio - Blog{%endblock%}
{%block content%}
		{% autopaginate post %}
		{% for posts in post %}
			<div id="b_content">
				<span class="b_title_text"><a href="{{ posts.get_absolute_url }}">{{posts.title}}</a></span>
				<br />
				<span class="b_date_text">Posted on {{posts.creation_date|date}} at {{posts.creation_date|time}}</span>
				<br /><br />
				<span class="b_content">
					{{posts.content|removetags:"button html body form"|safe|truncatewords_html:300}}
					<br /><br />
						<a class="b_a_text" href="{{ posts.get_absolute_url }}">More....</a>
					<br />
				</span>
				<br /><br />
			</div>
			<br />
		{% endfor %}
		{% if valid %}
		
			<a class="b_a_text" href="http://c-pj.net/admin/blog/post/add/">New Post</a>
		{% endif %}
		{% paginate %}
{%endblock%}
